package com.example.hrmsaas.company.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 雷哥
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("co_department")
public class Department implements Serializable {

    private static final long serialVersionUID=1L;

    private String Id;

    /**
     * 企业ID
     */
    private String companyId;

    /**
     * 父级部门ID
     */
    private String pid;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 部门编码
     */
    private String code;

    /**
     * 部门负责人
     */
    private String manager;

    /**
     * 介绍
     */
    private String introduce;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 负责人ID
     */
    private String managerId;


    private Integer isDel;
}
